﻿using Microsoft.AspNetCore.Http;
using Microsoft.EntityFrameworkCore;
using Questionnaire.Models;

namespace Questionnaire
{
    public class DataContext : DbContext
    {
        public DataContext(DbContextOptions<DataContext> options) : base(options)
        {
        }

        public DbSet<Answer> Answers { get; set; }
        public DbSet<Paper> Papers { get; set; }
        public DbSet<Question> Questions { get; set; }
        public DbSet<Replier> Repliers { get; set; }
        public DbSet<Selection> Selections { get; set; }
    }
}
